package com.fs.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 订单商品详情表
 */
@Data
@Accessors(chain = true)
@TableName("order_goods")
public class OrderGoods implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 订单id
	 */
	@TableId(type = IdType.AUTO)
	private Long id;

	/**
	 * 订单id
	 */
	private Integer orderId;
	/**
	 * 商品id
	 */
	private Integer goodsId;
	/**
	 * 订单价格，分
	 */
	private Integer price;
	/**
	 * 订单数量
	 */
	private Integer num;

}
